package com.alibaba.cloud.boot.order.config;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TestDestoryBean implements DisposableBean {
    @Override
    public void destroy() throws Exception {
        System.out.println("container destory");
        while (true){

        }
    }
}
